Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: rln subtree root onchain strategy #37

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Conversation

rymnc
Copy link
Contributor

@rymnc rymnc commented Apr 4, 2024

  • feat(rln): trustless root onchain, no storage
  • fix: lint rules
  • feat: new deployment
  • fix: cleanup
  • fix: snapshot
  • test: subtree root calculation strategy

Description

This PR builds on the trustless root onchain PR, but tries to overcome the gas limit usage issue in calculating the root of a tree of height 20 in one go. This is done by sharding/using subtrees to incrementally calculate the root of the tree.

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • Added natspec comments?
  • Ran forge snapshot?
  • Ran pnpm lint?
  • Ran forge test?
  • Ran pnpm verify?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant